<?php
// -----------------------------------------------------
// Created by : php-orm
// -----------------------------------------------------
// Date: 2021/5/27
// -----------------------------------------------------
// Time: 15:30
// -----------------------------------------------------
// User: tf <1096392101@qq.com>
// -----------------------------------------------------
declare (strict_types=1);

return [
    'type' => 'mysql',
    'hostname' => '127.0.0.1',
    'hostport' => 3306,
    'username'=>'root',
    'password'=>'root',
    'database'=>'tp_layui',
    // 连接dsn
    'dsn'             => '',
    // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
    'deploy'          => 0,
    // 是否需要断线重连
    'break_reconnect' => false,
    'prefix' => 'tp_'
];